package com.lq.springcloud.service;

import org.springframework.stereotype.Component;

@Component//服务降级处理类
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfoOk(Long id) {
        return "成功后的通用熔断处理";
    }

    @Override
    public String paymentInfoFalse(Long id) {
        return "失败后的熔断处理";
    }

}
